/*

* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     Smart-Shop开源商城系统/ Java商城-首选电商平台系统 请务必保留此注释头信息
* |     开源地址: https://gitee.com/ningbo-qishan/gruul-mall
* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     可正常分享和学习源码,未经授权 不可商用！
* |     商业版中台购买/开源版商业授权 联系技术客服
* |     官网:  https://www.73app.cn/
* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     Copyright (c) 2016-2999 宁波启山智软科技有限公司
* |     版权所有 ,侵权必究！
* ------------------------------------------------------------------------

*/
package com.medusa.gruul.account.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author whh
 * @description
 * @data: 2019/11/19
 */
@Data
@ApiModel(value = "用户扩展信息")
public class UserInfoExtendsVo {

    @ApiModelProperty(value = "拥有积分值")
    private BigDecimal integral;

    @ApiModelProperty(value = "拥有总积分值")
    private BigDecimal integralTotal;

    @ApiModelProperty(value = "连续签到天数")
    private Integer clockNum;

    @ApiModelProperty(value = "最后交易时间")
    private LocalDateTime lastDealTime;

    @ApiModelProperty(value = "是否黑名单用户 0-否 1-是")
    private Integer isBlacklist;

    @ApiModelProperty(value = "消费次数")
    private Integer consumeNum;


    @ApiModelProperty(value = "用户最后一次选择的地理位置经纬度 经纬度,经度在前维度在后逗号分隔")
    private String lastChooseLcation;

    @ApiModelProperty(value = "商铺id")
    private String shopId;

    @ApiModelProperty(value = "最后登录时间")
    private LocalDateTime lastLoginTime;

    @ApiModelProperty(value = "当前用户区域团长信息")
    private AssembleActivityAreaAssociationVo oneselfAssembleActivityAreaAssociation;

    @ApiModelProperty(value = "当前用户团长信息")
    private AssembleActivityAssociationVo assembleActivityAreaAssociation;

    @ApiModelProperty(value = "当前用户所属的团长信息")
    private AssembleActivityAssociationVo affiliationActivityAssociation;


    @ApiModelProperty(value = "店铺用户id")
    private String shopUserId;

    @ApiModelProperty(value = "会员卡")
    List<ApiMemberCardInfoVo> memberInfo;

    /**
     * 用户余额
     */
    @ApiModelProperty(value = "用户余额")
    private BigDecimal supplyBonus;

    /**
     * 用户返利余额
     */
    @ApiModelProperty(value = "用户返利余额")
    private BigDecimal rebateBonus;

    /**
     * 冻结余额
     */
    @ApiModelProperty(value = "冻结余额")
    private BigDecimal freezeBonus;
}
